package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.Equipment;
import com.mxpio.erp.common.equipment.entity.EquipmentBom;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.system.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface EquipmentBomService extends BaseService<EquipmentBom> {

    Page<EquipmentBom> listPageWith(Pageable page, Criteria criteria);

    List<Equipment> getEquipmentListFromBomCode(String itemCode);
}
